/*
 * page-creative-list
**/

(function($) {

	var drawBoard = $('.draw_board');

    // search Event
    $(".searchbox").on('click','.sc_btn',function(){
    	var self = $(this);
    	if(self.hasClass('sc_draw_btn')){
    		self.toggleClass('sc_draw_btn_cur');
    		drawBoard.toggle('slow');
    		self.siblings('input.sc_txt').hide();
    	}else if(self.hasClass('sc_txt_btn')){
    		drawBoard.hide('slow');
    		$('.sc_draw_btn').removeClass('sc_draw_btn_cur');
    		self.siblings('input.sc_txt').show();
    	}
    });

    drawBoard.on('click','.closeBtn',function(){
		drawBoard.hide('slow');
		$('.sc_draw_btn').removeClass('sc_draw_btn_cur');
    });
    // drawBoard.find('.slides').focus(function(){
    //     drawBoard.find('.def_txt').hide();
    // });


})(jQuery);